package com.th.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.th.common.annotation.Excel;
import com.th.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 us_wallet_info
 *
 * @author ruoyi
 * @date 2023-06-26
 */
public class UsWalletInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 钱包id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 钱包余额 */
    @Excel(name = "钱包余额")
    private Long balance;

    /** 钱包状态 （0正常 1停用） */
    @Excel(name = "钱包状态 ", readConverterExp = "0=正常,1=停用")
    private Long status;

    /** 总收入 */
    @Excel(name = "总收入")
    private Long totalIncome;

    /** 总支出 */
    @Excel(name = "总支出")
    private Long totalExpenditure;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setBalance(Long balance)
    {
        this.balance = balance;
    }

    public Long getBalance()
    {
        return balance;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setTotalIncome(Long totalIncome)
    {
        this.totalIncome = totalIncome;
    }

    public Long getTotalIncome()
    {
        return totalIncome;
    }
    public void setTotalExpenditure(Long totalExpenditure)
    {
        this.totalExpenditure = totalExpenditure;
    }

    public Long getTotalExpenditure()
    {
        return totalExpenditure;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("balance", getBalance())
            .append("status", getStatus())
            .append("totalIncome", getTotalIncome())
            .append("totalExpenditure", getTotalExpenditure())
            .toString();
    }
}
